The following tables list the members exposed by UnitOfWork<T>.
Name | Description | |
---|---|---|
![]() | UnitOfWork<T> Constructor | Creates a new unit of work. |
Name | Description | |
---|---|---|
![]() | Entities | The repository to retrieve entities. |
![]() | Factory | The factory to create new entity instances. |
Name | Description | |
---|---|---|
![]() | EntityManager | Returns the EntityManager used by this unit of work. (Inherited from Cocktail.UnitOfWork) |
Name | Description | |
---|---|---|
![]() | Clear | Resets the UnitOfWork to its initial state. (Inherited from Cocktail.UnitOfWork) |
![]() | CommitAsync | Commits all pending changes to the underlying data source. (Inherited from Cocktail.UnitOfWork) |
![]() | HasChanges | Returns true if the unit of work contains pending changes. (Inherited from Cocktail.UnitOfWork) |
![]() | HasEntity | Returns true if the provided entity is attached to the current UnitOfWork's EntityManager. (Inherited from Cocktail.UnitOfWork) |
![]() | Rollback | Rolls back all pending changes. (Inherited from Cocktail.UnitOfWork) |
Name | Description | |
---|---|---|
![]() | EntityChanged | Fired whenever an entity associated with the current unit of work has changed in any significant manner. (Inherited from Cocktail.UnitOfWork) |